﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FL.DBModule;
using FL.Lite;
/*
 实体类名称：t_sys_lib
 
 
 */

namespace FL.DBModule.Sys
{
    [Serializable]
    [Table("t_set_datagrid", "id")]
    public class t_set_datagrid : BaseEntity
    {
        [Column]
        public Guid id
        { get; set; }

        [Column]
        public string name
        {
            get;
            set;
        }

        [Column]
        public string header
        {
            get;
            set;
        }

        [Column]
        public string caption
        {
            get;
            set;
        }

        [Column]
        public string data_type
        {
            get;
            set;
        }

        [Column]
        public string column_type
        {
            get;
            set;
        }

        [Column]
        public string editor
        {
            get;
            set;
        }

        [Column]
        public string data_source
        {
            get;
            set;
        }

        /// <summary>
        /// 数据来源类型
        /// </summary>
        [Column]
        public string data_source_type
        {
            get;
            set;
        }


        [Column]
        public string data_formatter
        {
            get;
            set;
        }

        [Column]
        public int sort
        {
            get;
            set;
        }

        [Column]
        public int width
        {
            get;
            set;
        }

        [Column]
        public string is_key
        {
            get;
            set;
        }
       
        [Column]
        public string is_visiable
        {
            get;
            set;
        }

        [Column]
        public string is_fixed
        {
            get;
            set;
        }


        [Column]
        public string is_resize
        {
            get;
            set;
        }



        [Column]
        public string is_query
        {
            get;
            set;
        }

        [Column]
        public string is_define_query
        {
            get;
            set;
        }

        [Column]
        public string is_key_query
        {
            get;
            set;
        }
         [Column]
        public string is_between
        {
            get;
            set;
        }

        [Column]
        public string is_allow_edit
        {
            get;
            set;
        }

        [Column]
        public string is_output
        {
            get;
            set;
        }

        [Column]
        public string entity
        {
            get;
            set;
        }

        [Column]
        public Guid add_user
        {
            get;
            set;
        }
        [Column]
        public DateTime add_time
        {
            get;
            set;
        }

        public bool is_created
        {
            get;
            set;
        }
    }
}
